package com.lucky.auth_boot.controller;

import com.lucky.auth_boot.common.Result;
import com.lucky.auth_boot.service.SiteInfoService;
import jakarta.annotation.Resource;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/webInfo")
public class SiteInfoController {
    @Resource
    SiteInfoService siteInfoService;
    @GetMapping("/querySiteInfo")
    public Result<?> querySiteInfo() {
        return Result.success(siteInfoService.querySiteInfo());
    }
}
